/*
 * @Author: hucc
 * @Date: 2021-11-02 18:38:29
 * @LastEditors: hucc
 * @LastEditTime: 2021-11-02 19:26:38
 * @Description: 
 */
import {get, post} from '@/utils/request';

// 分页查询订单相关信息
export function pageQuery(data){
    return get('/order/pageQuery',data)
}
// 取消派单
export function cancelSendOrder(data){
    return get('/order/cancelSendOrder',data)
}
// 确认订单
export function confirmOrder(data){
    return get('/order/confirmOrder',data)
}

// 通过id删除
export function deleteById(data){
    return get('/order/deleteById',data)
}
// 拒绝订单
export function rejectOrder(data){
    return get('/order/rejectOrder',data)
}
// 派单
export function sendOrder(data){
    return get('/order/sendOrder',data)
}
// 员工服务结束
export function serviceCompleteOrder(data){
    return get(' /order/serviceCompleteOrder ',data)
}
// 提交订单
export function submitOrder(data){
    return get('/order/submitOrder',data)
}
// 接单
export function takeOrder(data){
    return get('/order/takeOrder',data)
}

// 给员工派单--调用用户相关接口
export function queryData(data){
    return get('/baseUser/pageQuery',data)
}

//根据id查询方法
export function findById(data){
    return get('/order/findById',data)
}
